// -----------------------------
// Author: 		Dhaenens Gert 
// Creation: 	1/6/2015 12:40:00 AM				
// -----------------------------

#ifndef _VolumeEnvelope_h
#define _VolumeEnvelope_h

#include "SoundPass.h"

class VolumeEnvelope : public SoundPass
{
public:

	Float		AttackTime;
	Float		AttackValue;
	Float		DecayTime;
	Float		SustainValue;
	Float		ReleaseTime;

	VolumeEnvelope();
	virtual ~VolumeEnvelope();

	virtual SoundSample		Apply(const SoundSample& input) const;

private:

	VolumeEnvelope(const VolumeEnvelope& refVolumeEnvelope);
	VolumeEnvelope& operator=(const VolumeEnvelope& refVolumeEnvelope);
};

#endif